package interfaceDAO;

import java.util.List;

import domain.Station;

public interface IDAOStation {

	/**
	 * Retrieve a list of station from there name.
	 * 
	 * @param name
	 *            Station name.
	 * @return A list of station.
	 */
	public List<Station> getStationByName(String name);

	/**
	 * Retrieve a station from its number.
	 * 
	 * @param number
	 *            The station number.
	 * @return Corresponding station or <tt>null</tt>.
	 */
	public Station getStationByNumber(int number);

	/**
	 * Retrieve all stations.
	 * 
	 * @return A list of all stations.
	 */
	public List<Station> getAllStations();

	/**
	 * Retrieve stations inside interval.
	 * 
	 * @param lat
	 *            Center latitude.
	 * @param lng
	 *            Center longitude.
	 * @param latInt
	 *            Latitude interval.
	 * @param lngInt
	 *            Longitude interval.
	 * @return The set of station inside the area.
	 */
	public List<Station> getAllStationsBetween(double lat, double lng,
			double latInt, double lngInt);
}